<template>
  <div class="scroll-board">
    <dv-scroll-board @click="skipto()" :config="config" v-if="config.data.length > 0"/>
    <div class="font-color no-data" v-else>
      暂无数据
    </div>
  </div>
</template>

<script>
export default {
  name: 'scrollBoard',
  props: {
    config: {
      type: Object,
      require: true
    }
  },
  methods: {
    skipto (config) {
      console.log(config, '点击事件')
    }
  }
}
</script>

<style scoped>

</style>
